﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SiteNavigation.ascx.cs"
    Inherits="CustomControls_SiteNavigation" %>
<div id="home-index" class="popin clearfix">
    <div class="t">
    </div>
    <div class="popin-content">
        <asp:DataList ID="dlStructure" runat="server" GridLines="None" RepeatColumns="4"
            ItemStyle-VerticalAlign="Top" RepeatDirection="Horizontal" RepeatLayout="Table"
            OnItemDataBound="dlSubCategories_ItemDataBound" ShowHeader="false">
            <ItemTemplate>
                <div>
                    <h2>
                        <a href="<%# Utils.BuildURL(PageType.Categorii, ((Model.Categories)Container.DataItem).CategoryID, ((Model.Categories)Container.DataItem).Title) %>"
                            title="<%# Server.HtmlEncode(((Model.Categories)Container.DataItem).Title) %>">
                            <%# ((Model.Categories)Container.DataItem).Title %></a></h2>
                    <asp:Repeater ID="subsubCategories" runat="server" Visible="false">
                        <HeaderTemplate>
                            <ul>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <li><a href="<%# Utils.BuildURL(PageType.Categorii, ((Model.Categories)Container.DataItem).CategoryID, ((Model.Categories)Container.DataItem).Title) %>"
                                title="<%# Server.HtmlEncode(((Model.Categories)Container.DataItem).Title) %>">
                                <%# ((Model.Categories)Container.DataItem).Title %></a></li>
                        </ItemTemplate>
                        <FooterTemplate>
                            </ul>
                        </FooterTemplate>
                    </asp:Repeater>
                </div>
            </ItemTemplate>
        </asp:DataList>
    </div>
    <div class="b">
        <div class="bb">
        </div>
    </div>
</div>
